package com.aizuda.boot.modules.business.department.domain.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "部门详细信息VO")
public class DepartmentDetailVO {

    @Schema(description = "部门ID")
    private Long id;

    @Schema(description = "部门名称")
    private String name;

    @Schema(description = "部门编码")
    private String code;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "子部门列表")
    private List<DepartmentDetailVO> children;

    @Schema(description = "部门下的员工列表")
    private List<EmployeeVO> employees;
} 